package com.ctshk.rpc.order.goods.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;

/**
 * <p>
 * 商品成本表
 * </p>
 *
 * @author 姜斌文
 * @since 2021-05-13
 */
@Data
@ApiModel(value="CommodityCostDTO对象", description="商品成本表")
public class CommodityCostDTO implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "商品id")
    private Long id;

    @ApiModelProperty(value = "商品属性id")
    private Long commodityAttributeId;

    @ApiModelProperty(value = "商品id")
    private Long commodityId;

    @ApiModelProperty(value = "成本属性表id")
    private Long costAttributeId;

    @ApiModelProperty(value = "成本价")
    private BigDecimal costPrice;

    @ApiModelProperty(value = "图片url")
    private String pictureUrl;

    @ApiModelProperty(value = "利润")
    private BigDecimal profit;

    @ApiModelProperty(value = "售价")
    private BigDecimal price;

    @ApiModelProperty(value = "划线价")
    private BigDecimal markingPrice;

    @ApiModelProperty(value = "结算价")
    private BigDecimal settlementPrice;

    @ApiModelProperty(value = "sku库存")
    private Integer stock;

    @ApiModelProperty(value = "重量")
    private Double weight;

    @ApiModelProperty(value = "税费")
    private BigDecimal taxation;

    @ApiModelProperty(value = "编号")
    private String number;

    @ApiModelProperty(value = "创建人")
    private Long createId;

    @ApiModelProperty(value = "创建时间")
    private LocalDateTime gmtCreate;

    @ApiModelProperty(value = "修改人")
    private Long modifiedId;

    @ApiModelProperty(value = "修改时间")
    private LocalDateTime gmtModified;

    @ApiModelProperty(value = "删除标识")
    private Integer isDeleted;

}
